theme/filter-selected-rtl.svg \
theme/gnome-shell.css \
theme/logged-in-indicator.svg \
+ theme/message-tray-background.png \
theme/noise-texture.png \
theme/panel-button-border.svg \
theme/panel-button-highlight-narrow.svg \
/* Message Tray */
#message-tray {
- background-gradient-direction: vertical;
- background-gradient-start: rgba(0,0,0,0.01);
- background-gradient-end: rgba(0,0,0,0.82);
- height: 36px;
+ background: #2e3436 url(message-tray-background.png);
+ background-repeat: repeat;
+ height: 72px;
}
.notification {
#summary-mode {
padding: 2px 0px 0px 4px;
- height: 36px;
+ height: 72px;
}
#summary-mode:rtl {
const HIDE_TIMEOUT = 0.2;
const LONGER_HIDE_TIMEOUT = 0.6;
+const NOTIFICATION_ICON_SIZE = 24;
// We delay hiding of the tray if the mouse is within MOUSE_LEFT_ACTOR_THRESHOLD
// range from the point where it left the tray.
this._table.remove_style_class_name('multi-line-notification');
if (!this._icon) {
- this._icon = params.icon || this.source.createIcon(this.source.ICON_SIZE);
+ this._icon = params.icon || this.source.createIcon(NOTIFICATION_ICON_SIZE);
this._table.add(this._icon, { row: 0,
col: 0,
x_expand: false,
const Source = new Lang.Class({
Name: 'MessageTraySource',
- ICON_SIZE: 24,
+ SOURCE_ICON_SIZE: 48,
_init: function(title, iconName, iconType) {
this.title = title;
if (this._mainIcon)
return;
- this._mainIcon = new SourceActor(this, this.ICON_SIZE);
- return;
+ this._mainIcon = new SourceActor(this, this.SOURCE_ICON_SIZE);
},
// Unlike createIcon, this always returns the same actor;
// notifications that might have been in the process of hiding get full opacity.
//
// We tween any notification showing in the banner mode to banner height
- // (this._notificationBin.y = -this.actor.height).
+ // (this._notificationBin.y = -this._notificationBin.height).
// This ensures that both new notifications and notifications in the banner mode that might
// have been in the process of hiding are shown with the banner height.
//
onCompleteScope: this
};
if (!this._notification.expanded)
- tweenParams.y = - this.actor.height;
+ tweenParams.y = -this._notificationBin.height;
this._tween(this._notificationBin, '_notificationState', State.SHOWN, tweenParams);
},
let gicon = this._iconForNotificationData(icon, hints);
let iconActor = new St.Icon({ gicon: gicon,
icon_type: St.IconType.FULLCOLOR,
- icon_size: source.ICON_SIZE });
+ icon_size: MessageTray.NOTIFICATION_ICON_SIZE });
if (notification == null) {
notification = new MessageTray.Notification(source, summary, body,